<template>
      <div>
          <template v-for="item in data">
            <h2>{{item.content}}</h2>
         </template>
          <slot name="header">头部</slot>
      </div>
</template>

<script>
export default {
    props: ['data']
}
</script>

<style>

</style>